#include "CPlayListItemDelegate.h"

CPlayListItemDelegate::CPlayListItemDelegate(QObject* parent)
	: QStyledItemDelegate(parent)
{

}

CPlayListItemDelegate::~CPlayListItemDelegate()
{

}

void CPlayListItemDelegate::paint(QPainter* painter, const QStyleOptionViewItem& option, const QModelIndex& index) const
{
	//
}

QSize CPlayListItemDelegate::sizeHint(const QStyleOptionViewItem& option, const QModelIndex& index) const
{
	return QSize(2, 4);
}

QString CPlayListItemDelegate::displayText(const QVariant& value, const QLocale& locale) const
{
	return QString("");
}

QWidget* CPlayListItemDelegate::createEditor(QWidget* parent, const QStyleOptionViewItem& option, const QModelIndex& index) const
{
	return nullptr;
}

void CPlayListItemDelegate::setModelData(QWidget* editor, QAbstractItemModel* model, const QModelIndex& index) const
{
	//
}